<style>
	.fui-page{background:#f2f2f2}
    .fui-cell-group{width:100%;border-radius: 0.5rem;}
    .fullback-title{color:#999999;font-size:0.7rem;padding:0.75rem 0 0.5rem 0;}
    .fullback-info{}
    .fullback-info p{height:1rem;line-height: 1rem;font-size:0.625rem;color:#333;display: inline-block;padding:0 0.5rem 0 0;}
    .fullback-info p i{border:none;height:0.75rem;width:0.75rem;display: inline-block;background: #ff4753;color:#fff;font-size:0.4rem;line-height: 0.8rem;text-align: center;
        font-style: normal;border-radius: 0.75rem;-webkit-border-radius: 0.75rem;margin-right:0.25rem;}
    .fullback-remark{line-height: 1rem;font-size:0.6rem;color:#666;padding:0.2rem 0;}
	.fui-tab:after {
		height: 0;
	}
	.fui-content {background:#fff}
</style>
<div ng-if="pagedata.showgoodsdetail" class="popup" style="z-index:1008">
	<div class="popup-body">
		<div class="popup-center" style="height:28rem;border-radius:0.3rem">
		<div style="height:28rem;overflow-y:auto;border-radius:0.3rem">
			<i  ng-click="pagedata.showgoodsdetail=false" class="icon icon-close" style="top:-0.8rem;right:-0.5rem" id="alert-click"></i>
			<!-- 顶部导航 下滑动显示 -->
			<div class="fui-header" style="position: fixed;border-radius:0.3rem">
				<div class="title">
					<div id="tab" class="fui-tab fui-tab-danger" style="border-radius:0.3rem">
						<a ng-class="{'tab':1, 'active':pagedata.showtype == 0}" href="javascript:" ng-click="pagedata.showtype = 0">商品</a>
						<a ng-class="{'tab':1, 'active':pagedata.showtype == 1}" href="javascript:" ng-click="pagedata.showtype = 1">详情</a>
						<a ng-class="{'tab':2, 'active':pagedata.showtype == 2}" href="javascript:" ng-click="pagedata.showtype = 2">参数</a>
						<a ng-class="{'tab':3, 'active':pagedata.showtype == 3}" href="javascript:" ng-click="pagedata.showtype = 3">评价</a>
					</div>
				</div>
			</div>
			<!-- 找不到宝贝 -->
			<div ng-if="!pagedata.goodsitem.goods"  class="fui-header ">
				<div class="fui-header-left">
					<a class="back" id="btn-back"></a>
				</div>
				<div class="title">
					找不到宝贝
				</div>
			</div>
			<!--商品详情已完成-->
			<div ng-if="pagedata.showtype ==1" ng-class="{'fui-content detail-block':1,'notbuy':!pagedata.goodsitem.goods.canbuy}">
				<div class="content-block content-images" style="padding:0.2rem 0.3rem" ng-bind-html="trust(pagedata.goodsitem.goods.content)"></div>
			</div>

			<!--参数已完成-->
			<div  ng-if="pagedata.showtype ==2"  ng-class="{'fui-content param-block in':1,'notbuy':!pagedata.goodsitem.goods.canbuy}" style="margin-top:0">
				<div class="fui-cell-group notop">
					<div ng-repeat="p in pagedata.goodsitem.goods.param" class="fui-cell">
						<div class="fui-cell-label md" >{{p.title}}</div>
						<div class="fui-cell-info overflow md">{{p.value}}</div>
					</div>
				</div>
				<div class='content-empty' ng-if="pagedata.goodsitem.goods.param.length<1">
					<i class='icon icon-pingjia1'></i><br/>商品没有参数
				</div>
			</div>
		<!--评价-->
			<div  ng-if="pagedata.showtype ==3"  ng-class="{'fui-content comment-block':1,'notbuy':!pagedata.goodsitem.goods.canbuy}" style="top:0;margin-top:1.8rem">
				<div class="fui-cell-group">
				<div class="fui-cell" ng-if="pagedata.goodsitem.commentsnum>0" style="margin-bottom:-0.3rem">
					<div class="fui-cell-text option-selector">评价({{pagedata.goodsitem.commentsnum}})</div>
					<div class="fui-cell-remark noremark">好评度<span style="color:red">{{pagedata.goodsitem.commentsfen.percent}}%</span></div>
				</div>
				<div class="fui-cell">
					<div class="fui-cell-info">
						<span ng-class="{'jylabels jylabel-red-bg':1,'active':pagedata.goodsitem.comments_type=='all'}" style="line-height:0.8rem;padding: 0.1rem 0.6rem;" ng-click="tool.get_list('jy_weishop/goods.detail/getcomments/goodsid='+pagedata.goodsitem.goods.id+'&type=all',true);pagedata.goodsitem.comments_type='all'">全部 {{pagedata.goodsitem.commentsnum}}+</span>
						<span ng-class="{'jylabels jylabel-red-bg':1,'active':pagedata.goodsitem.comments_type=='new'}" style="line-height:0.8rem;padding: 0.1rem 0.6rem;" ng-click="tool.get_list('jy_weishop/goods.detail/getcomments/goodsid='+pagedata.goodsitem.goods.id+'&type=new',true);pagedata.goodsitem.comments_type=''">最新的</span>
						<span ng-class="{'jylabels jylabel-red-bg':1,'active':pagedata.goodsitem.comments_type=='percent'}" style="line-height:0.8rem;padding: 0.1rem 0.6rem;" ng-click="tool.get_list('jy_weishop/goods.detail/getcomments/goodsid='+pagedata.goodsitem.goods.id+'&type=percent',true);pagedata.goodsitem.comments_type='percent'">非常不错 {{pagedata.goodsitem.commentsfen.count.good}}+</span>
						<span ng-class="{'jylabels jylabel-red-bg':1,'active':pagedata.goodsitem.comments_type=='normal_percent'}" style="line-height:0.8rem;padding: 0.1rem 0.6rem;" ng-click="tool.get_list('jy_weishop/goods.detail/getcomments/goodsid='+pagedata.goodsitem.goods.id+'&type=normal_percent',true);pagedata.goodsitem.comments_type='normal_percent'">感觉一般 {{pagedata.goodsitem.commentsfen.count.normal}}+</span>
						<span ng-class="{'jylabels jylabel-red-bg':1,'active':pagedata.goodsitem.comments_type=='bad_percent'}" style="line-height:0.8rem;padding: 0.1rem 0.6rem;" ng-click="tool.get_list('jy_weishop/goods.detail/getcomments/goodsid='+pagedata.goodsitem.goods.id+'&type=bad_percent',true);pagedata.goodsitem.comments_type='bad_percent'">差评 {{pagedata.goodsitem.commentsfen.count.bad}}+</span>
						<span ng-class="{'jylabels jylabel-red-bg':1,'active':pagedata.goodsitem.comments_type=='pic'}" style="line-height:0.8rem;padding: 0.1rem 0.6rem;" ng-click="tool.get_list('jy_weishop/goods.detail/getcomments/goodsid='+pagedata.goodsitem.goods.id+'&type=pic',true);pagedata.goodsitem.comments_type='pic'">有图的 {{pagedata.goodsitem.commentsfen.count.pic}}+</span>
					</div>
				</div>
				<div ng-if="pagedata.list.length>0" class="container">
				<!--评论展示区-->
					<div ng-include="sys_html('goods/comments','','','jy_weishop')"></div>
				</div>
				</div>
				 <div class='content-empty' ng-if="pagedata.list.length<1">
					<i class='icon icon-pingjia1'></i><br/>暂时没有任何评价
				</div>
				<div ng-if="loading" class='infinite-loading'><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
			</div>

		<!-- 商品其他开始 -->
		<div ng-if="pagedata.showtype==0" ng-class="{'fui-content basic-block pulldown':1, 'notbuy':pagedata.goodsitem.goods.canbuy}" style="top: 0.0rem;padding-bottom:0">

		<div ng-if="!pagedata.goodsitem.goods" class='content-empty'>
			<i class='icon jinyunicon icon-search'></i><br/> 宝贝找不到了~ 您看看别的吧 ~<br/><a href="javascript:;" ng-click="access_json('jy_weishop/goods.index/')" class='btn btn-default-o external'>到处逛逛</a>
		</div>
		<i ng-if="pagedata.goodsitem.goods.qrcodeshare > 0" class="icon icon-qrcode" id="alert-click"></i>
		<!--轮播图-->
		<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
			<div ng-if="!pagedata.goodsitem.goods.video || pagedata.isvideo!=1" class="carousel-inner" role="listbox" style="min-height:13rem;max-height:20rem">
				<div ng-class="{'item':1,'active':$index==0}" ng-repeat="item in pagedata.goodsitem.images">
					<a href="#">
						<img ng-src="{{tomedia(item) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 100%; height: 100%;">
					</a>
				</div>
			</div>
			<style>
					.fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
					.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
			</style>
			<div ng-if="!pagedata.goodsitem.goods.video || pagedata.isvideo!=1" id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
						<div class="fui-swipe-bullet" ng-repeat="item in pagedata.goodsitem.images" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
			</div>
			<video ng-if="pagedata.goodsitem.goods.video && pagedata.isvideo==1" style="width:100%;height:20rem" ng-src="{{tomedia(pagedata.goodsitem.goods.video)}}" poster="{{tomedia(pagedata.goodsitem.goods.image)}}" x5-playsinline="" playsinline="" webkit-playsinline="" preload="auto"  preload="auto" controls loop="loop">
			</video>
			<!--商品活动，此处加载商品活动展示页-->
			<div ng-if="pagedata.goodsitem.item.active_url" ng-include="pagedata.goodsitem.item.active_url"></div>
		</div>
		<div ng-if="pagedata.goodsitem.goods.video" class="isvideo">
				<div style="width:6rem;margin:0 auto;">
				<span ng-class="{'videobtn':1,'active':pagedata.isvideo==1}" ng-click="pagedata.isvideo=1"><i class="icon icon-shipin1" style="font-size:0.55rem"></i> 视频</span>
				<span ng-class="{'videobtn':1,'active':pagedata.isvideo!=1}" ng-click="pagedata.isvideo=0" style="margin-left:0.5rem;"><i class="icon icon-lunbo" style="font-size:0.5rem;"></i> 图片</span>
				</div>
		</div>
		<div ng-if="pagedata.goodsitem.goods" class="fui-cell-group fui-detail-group" style="padding-bottom:8px">
		<!--秒杀完成-->
		<div ng-if="pagedata.goodsitem.goods.seckillinfo" ng-class="{'seckill-container':1,'notstart':pagedata.goodsitem.goods.seckillinfo.status==1}"
			 data-starttime="{{pagedata.goodsitem.goods.seckillinfo.starttime}}"
			 data-endtime="{{pagedata.goodsitem.goods.seckillinfo.endtime}}"
			 data-status="{{pagedata.goodsitem.goods.seckillinfo.status}}">
			<div class="fui-list seckill-list" style="" >
				<div class="fui-list-media seckill-price">
					&yen;<span>{{pagedata.goodsitem.goods.seckillinfo.price}}</span>
				</div>
				<div class="fui-list-inner">
						<div ng-if="pagedata.goodsitem.goods.seckillinfo.tag" class="text">
							<span class="stitle" style="white-space:nowrap; overflow:hidden; max-width:2.6rem;">{{pagedata.goodsitem.goods.seckillinfo.tag}}</span>
						</div>
					<div class="text"><span class="oldprice">&yen;{{pagedata.goodsitem.goods.minprice}}</span></div>
				</div>
			</div>
			<div class="fui-list seckill-list1" >
				<div class="fui-list-inner">
					<div class="text " ng-if="pagedata.goodsitem.goods.seckillinfo.status==0">已出售 {{pagedata.goodsitem.goods.seckillinfo.percent}}%</div>
					<div class="text " ng-if="pagedata.goodsitem.goods.seckillinfo.status==0"><span class="process"><div class="inner" style="width:{{pagedata.goodsitem.goods.seckillinfo.percent}}%"></div></span></div>
				</div>
			</div>
			<div class="fui-list seckill-list2" style="" >
				<div class="fui-list-inner">
					<div ng-if="pagedata.goodsitem.goods.seckillinfo.status==1" class="text ">距开始还有</div>
					<div ng-if="pagedata.goodsitem.goods.seckillinfo.status!=1" class="text ">距结束还有</div>
					<div class="text timer">
						<span class="time-hour">-</span>&nbsp;:&nbsp;<span class="time-min">-</span>&nbsp;:&nbsp;<span class="time-sec">-</span>
					</div>
				</div>
			</div>
		</div>
		 <!--正常价格-->
			<div class="fui-cell">
				<div class="fui-cell-text" >
					<span ng-if="pagedata.goodsitem.goods.active.title" class="red">{{pagedata.goodsitem.goods.active.title}}</span>
					<span ng-if="pagedata.goodsitem.goods.active.price" class="price"> &yen;{{pagedata.goodsitem.goods.active.price ||'0.00'}}</span>
					<span ng-if="!pagedata.goodsitem.goods.active.price" class="price"> &yen;{{pagedata.goodsitem.goods.price ||'0.00'}}</span>
					<span ng-if="pagedata.goodsitem.goods.originalprice" class="delete" style="margin-left:0.3rem"> &yen;{{pagedata.goodsitem.goods.originalprice}}</span>
					<span class="subtitle" style="margin-left:1rem" ng-if="pagedata.goodsitem.goods.isshowsales==1">(已售{{pagedata.goodsitem.goods.salenum}}{{pagedata.goodsitem.goods.unit || '件'}})</span>
				</div>
				<div class="fui-cell-remark noremark lover">
					<span ng-if="pagedata.goodsitem.goods.isbuyxiu==1" class="fui-tag fui-tag-red-o sale-tip" style="margin-right:10px" href="javascript:;" ng-click="access_json('jy_weishop/sale.buyxiu//goodsid='+pagedata.goodsitem.goods.id)">买家秀-> <i class="icon jinyunicon icon-nvzhuangneiyi" style="font-size:0.6rem"></i></span>
					<i href="javascript:;" ng-click="pagedata.setlike();toogle(pagedata.goodsitem,'islike')" ng-class="{'icon jinyunicon':1,'icon-follow':pagedata.goodsitem.islike !=1,'icon-xiai':pagedata.goodsitem.islike >0}"></i>
				</div>
			</div>
			<div class="fui-cell">
				<div class="fui-cell-tag">
					<i ng-if="pagedata.goodsitem.goods.ispresell == 1" class="fui-tag fui-tag-red">预</i>
					<i ng-if="pagedata.goodsitem.goods.ispresell != 1" class="fui-tag fui-tag-red">{{pagedata.goodsitem.goods.merch ? '商户':'自营'}}</i>
				</div>
				<div class="fui-cell-text name bold" style="">
					 {{pagedata.goodsitem.goods.title}}
				</div>
			</div>
			<div class="fui-cell goods-subtitle">
					<span class='text-block'>{{pagedata.goodsitem.goods.subtitle}}</span>
			</div>
			<div ng-if="pagedata.goodsitem.goods.isshowtotal==1" class="fui-cell goods-subtitle" style="margin-top:-.2rem">
					<span class='text-block'>库存：{{pagedata.goodsitem.goods.total}}</span>
			</div>
			<div class="fui-cell">
					<div class="fui-cell-text name " ng-if="pagedata.goodsitem.goods.pcd">
						<span class="fui-tag subtitle"><i class="icon jinyunicon icon-map" style="font-size:0.5rem;"></i> 仓库</span>
						<span class="coupon-mini subtitle">{{pagedata.goodsitem.goods.pcd.province}}&nbsp{{pagedata.goodsitem.goods.pcd.city}}&nbsp{{pagedata.goodsitem.goods.pcd.district}}&nbsp{{pagedata.goodsitem.goods.pcd.street}} </span>
					</div>
					<div ng-if="pagedata.goodsitem.coupons.lenght>5" class="fui-cell-remark">更多</div>
			 </div>
			<!-- 平台开卡优惠券 -->
			<div class="fui-cell" ng-if="pagedata.goodsitem.shopset.giftcards_on ==1">
					<div class="fui-cell-text name" ng-click="access_json('jy_weishop/member.getcard/')">
						<span class="fui-tag fui-tag-red-o"><i class="icon jinyunicon icon-bussinesscard" style="font-size:0.4rem;"></i><span style="margin-left:3px">{{pagedata.goodsitem.shopset.giftcards_title ||'免费领'}}</span></span>
						<span class="coupon-mini">{{pagedata.goodsitem.shopset.giftcards_desc || '平台超级卡开卡送120,存100得200。戳'}} <i class="icon jinyunicon icon-yuding" style="font-size:0.5rem;color:red"></i></span>
					</div>
			 </div>
			<div class="fui-cell">
				<div class="fui-cell-text flex">
					<span ng-if="pagedata.goodsitem.goods.dispatchprice.min && pagedata.goodsitem.goods.type !=1 && pagedata.goodsitem.goods.isverify!=2">快递：{{pagedata.goodsitem.goods.dispatchprice.min}} ~ {{pagedata.goodsitem.goods.dispatchprice.max}}</span>
					<span ng-if="!pagedata.goodsitem.goods.dispatchprice.min && pagedata.goodsitem.goods.dispatchprice && pagedata.goodsitem.goods.type !=1 && pagedata.goodsitem.goods.isverify!=2">快递：{{pagedata.goodsitem.goods.dispatchprice || '包邮'}}</span>
					<span ng-if="!pagedata.goodsitem.goods.seckillinfo==false || (pagedata.goodsitem.goods.seckillinfo && pagedata.goodsitem.goods.seckillinfo.status==1)">库存：{{pagedata.goodsitem.goods.total}}</span>
					<span ng-if="!pagedata.goodsitem.goods.seckillinfo==false || (pagedata.goodsitem.goods.seckillinfo && pagedata.goodsitem.goods.seckillinfo.status==1)">销量：{{pagedata.goodsitem.goods.sales}}/{{pagedata.goodsitem.goods.unit}}</span>
					<span ng-if="pagedata.goodsitem.goods.seckillinfo==false && (!pagedata.goodsitem.goods.seckillinfo && pagedata.goodsitem.goods.seckillinfo.status!=1)"></span>
					<span ng-if="pagedata.goodsitem.goods.seckillinfo==false && (!pagedata.goodsitem.goods.seckillinfo && pagedata.goodsitem.goods.seckillinfo.status!=1)"></span>

					<span ng-if="pagedata.goodsitem.goods.province != '请选择省份' && pagedata.goodsitem.goods.city != '请选择城市'">{{pagedata.goodsitem.goods.province}} {{pagedata.goodsitem.goods.city}}</span>
				</div>
			</div>
		</div>


		<!-- 所有营销 -->
		<div class="fui-cell-group fui-sale-group">
			<!-- 商品可用优惠券 -->
			<div class="fui-cell" ng-if="pagedata.goodsitem.sale==1 && pagedata.goodsitem.coupons.lenght >0" ng-include="sys_html('goods/common/_coupons','','','jy_weishop')"></div>
			<!-- 会员等级 -->
			<div ng-if="pagedata.goodsitem.sale==1 && pagedata.goodsitem.isdiscount == 1 && pagedata.goodsitem.level.memberprice != pagedata.goodsitem.goods.minprice && pagedata.goodsitem.member.level" ng-include="sys_html('goods/common/_memberdiscount','','','jy_weishop')"></div>
			<div ng-if="pagedata.goodsitem.sale==1 && pagedata.goodsitem.huodong == 1" class="fui-cell fui-sale-cell" ng-include="sys_html('goods/common/_sales','','','jy_weishop')"></div>
			<!--已选参数-->
			<div ng-if="pagedata.goodsitem.selespename" class="fui-cell">
				<div class="fui-cell-label" style="width:2rem">已选</div>
				<div class="fui-cell-text bold" style="color:#333">
					{{pagedata.goodsitem.selespename}}{{pagedata.goodsitem.post.num}}件<span class="subtitle" style="margin-left:0.3rem" ng-if="pagedata.goodsitem.goods.isshowsales=='1'">(库存{{pagedata.options.stock}}{{pagedata.goodsitem.goods.unit || '件'}})</span>
				</div>
				<div class="fui-cell-remark noremark" onclick="$('#showspec').modal();" ng-click=""><i class="icon jinyunicon icon-icon-test"></i></div>
			</div>
			<!--赠品-->
			<div ng-if="pagedata.goodsitem.gifts && pagedata.goodsitem.gifts.total >0" class="fui-cell fui-sale-cell sendgoods">
				<div class="fui-cell-label" style="width:2rem">赠品</div>
					<div ng-if="pagedata.goodsitem.gifts.lenght>1" class="fui-cell-text fui-cell-giftclick">
						<label id="gifttitle">请选择赠品</label>
						<input type="hidden" name="giftid" id="giftid" value="">
					</div>
						<div ng-if="pagedata.goodsitem.gifts.lenght<2" ng-repeat="gi in pagedata.goodsitem.gifts" class='fui-cell-text' ng-click="access_json('jy_weishop/goods/gift//id='+item.id)">
							{{gi.title}}<input type="hidden" name="giftid" id="giftid" value="{{gi.id}}">
						</div>
				<div class="fui-cell-remark noremark"><i class="icon jinyunicon icon-icon-test"></i></div>
			</div>
			<div ng-if="pagedata.goodsitem.goods.weight" class="fui-cell">
				<div class="fui-cell-label" style="width:2rem">重量</div>
				<div class="fui-cell-text" style="color:#333">
					{{pagedata.goodsitem.goods.weight}}kg
				</div>
			</div>
			<div class="goods-label-demo" ng-if="pagedata.goodsitem.goods.cash==2 || pagedata.goodsitem.goods.quality==1 || pagedata.goodsitem.goods.repair==1 || pagedata.goodsitem.goods.invoice ==1 || pagedata.goodsitem.goods.seven ==1 || pagedata.goodsitem.goods.labelname.lenght>0">
				<div class="goods-label-list goods-label-style{{pagedata.goodsitem.goods.style.length + 1}}">
					<span ng-if="pagedata.goodsitem.goods.cash==2" ng-class="{'cl-3 cl-4 cl-2':pagedata.goodsitem.goods.style.length<2}"><i class="icon jinyunicon icon-yuding red"></i><strong>货到付款</strong></span>
					<span ng-if="pagedata.goodsitem.goods.quality==1" ng-class="{'cl-3 cl-4 cl-2':pagedata.goodsitem.goods.style.length<2}"><i class="icon jinyunicon icon-yuding red"></i><strong>正品保证</strong></span>
					<span ng-if="pagedata.goodsitem.goods.repair==1" ng-class="{'cl-3 cl-4 cl-2':pagedata.goodsitem.goods.style.length<2}"><i class="icon jinyunicon icon-yuding red"></i><strong>保修</strong></span>
					<span ng-if="pagedata.goodsitem.goods.invoice ==1" ng-class="{'cl-3 cl-4 cl-2':pagedata.goodsitem.goods.style.length<2}"><i class="icon jinyunicon icon-yuding red"></i><strong>发票</strong></span>
					<span ng-if="pagedata.goodsitem.goods.seven ==1" ng-class="{'cl-3 cl-4 cl-2':pagedata.goodsitem.goods.style.length<2}"><i class="icon jinyunicon icon-yuding red"></i><strong>退换货</strong></span>
					<span ng-repeat="value in pagedata.goodsitem.goods.labelname" ng-class="{'cl-3 cl-4 cl-2':pagedata.goodsitem.goods.style.length<2}"><i class="icon jinyunicon icon-yuding red"></i><strong>{{value.title}}</strong></span>
					<div style="clear: both;"></div>
				</div>
			</div>
			<!--配送区域完成-->
			<div ng-if="pagedata.goodsitem.has_city==1" class='fui-cell'>
				<div ng-if="pagedata.goodsitem.dispatch.isdispatcharea==0" class='fui-cell-label'>不配送区域:</div>
				<div ng-if="pagedata.goodsitem.dispatch.isdispatcharea==1" class='fui-cell-label'>只配送区域:</div>
				<div class="fui-cell-text">
					<span ng-repeat="(ke,v) in pagedata.goodsitem.citys" class="fui-tag fui-tag-red-o sale-tip">{{ke}}</span>
				 </div>
				<div class='fui-cell-remark noremark' onclick="$('#showhas_city').modal();"><i class="icon jinyunicon icon-icon-test"></i></div>
			</div>
		</div>
		<div ng-if="pagedata.goodsitem.packages && pagedata.goodsitem.goods.total>0" ng-include="sys_html('goods/common/_packages','','','jy_weishop')"></div>
		<!--购买后显示-->
		<div  ng-if="pagedata.goodsitem.buyshow==1 && !pagedata.goodsitem.goods.buycontent" class="fui-cell-group">
			<div class="fui-cell">
				<div class="content-block">{{pagedata.goodsitem.goods.buycontent}}</div>
			</div>
		</div>
		<div ng-include="sys_html('goods/common/_commentsdetail','','','jy_weishop')"></div>
		<div class="fui-cell-group fui-comment-group" ng-if="pagedata.goodsitem.wenda.length <1">
			<div class="fui-cell">
					<div class="fui-cell-label"></div>
					<div class="fui-cell-text">暂无问答</div>
					<div class="fui-cell-remark noremark"><i class="icon jinyunicon icon-icon-test"></i></div>
			</div>
		</div>
		<div class="fui-cell-group" ng-if="pagedata.goodsitem.hotgoods.length >0" ng-include="sys_html('goods/common/_hotgoods','','','jy_weishop')"></div>
		<div class="fui-cell-group">
			<div class="fui-cell">
				<div ng-click="pagedata.showtype=1" class="fui-cell-text text-center look-detail"><i class='icon jinyunicon icon-tuwenwenzhen'></i> <span>点击查看图文详情</span></div>
			</div>
		</div>
		</div>
		<!-- 下面是弹窗系列 -->
		<div class='fui-content' ng-if="!pagedata.goodsitem.goods">
			<div class='content-empty'>
				<i class='icon icon-searchlist'></i><br/> 商品已经下架，或者已经删除!<br/><a href="{php echo mobileUrl()}" class='btn btn-default-o external'>到处逛逛</a>
			</div>
		</div>
		<!--客服二维码展示弹层-->
		<div id="show_kfewm_modal" class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="width:80%;left:10%;top:10%;">
			<div class="modal-content" style="padding:0.5rem">
				<div class="title c">请长按扫描下面的二维码联系客服</div>
				<div class="image"><img style="width:100%" ng-src="{{tomedia(pagedata.goodsitem.kfewm) || '../core/resource/images/nopic.jpg'}}"></img></div>
			</div>
		</div>
		</div>
		<script type="text/javascript">
		require(['bootstrap', 'hammer'], function($, Hammer){
				$('#carousel-containerdetail').carousel();
				var mc = new Hammer($('#carousel-containerdetail').get(0));
				mc.on("panleft", function(ev) {
					$('#carousel-containerdetail').carousel('next');
				});
				mc.on("panright", function(ev) {
					$('#carousel-containerdetail').carousel('prev');
				});
		});
		//获取关注
		scope.pagedata.setlike=function(){
			scope.post_json('jy_weishop/goods.detail/like/',{},function(){
				if(scope.pagedata.goodsitem.islike==1){
					scope.message('关注成功！');
				}else{
					scope.message('取消成功！');
				}
			});
			
		}
		scope.pagedata.getgoodsdetail=function(goodsid){
			scope.get('jy_weishop/goods.detail//id='+goodsid,function(res){
				scope.pagedata.goodsitem=res;
				scope.pagedata.showtype=0;
				scope.pagedata.comments_type=scope.pagedata.goodsitem.comments_type;
				scope.pagedata.goods=res.goods;
				scope.pagedata.shopset=res.shopset;
				scope.pagedata.commentsnum=res.commentsnum
				scope.pagedata.commentsnum=res.commentsnum
				scope.pagedata.commentsfen=res.commentsfen
				scope.pagedata.goods.id=scope.pagedata.goodsitem.goods.id;
				scope.pagedata.showgoodsdetail=true;
				scope.$evalAsync();
			});
		}
		</script>
	</div>
	</div>
</div>
</div>